<!DOCTYPE HTML>
<html lang="zh-CN">
    <head>
        <title>FeHelper网页截屏工具-本地版</title>
        <meta name="Robots" content="INDEX,FOLLOW">
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
        <meta charset="UTF-8">
        <link rel="stylesheet" href="index.css?v=075e29e4">
        <script type="text/javascript" src="../static/vendor/vue/vue.js?v=b6ac71fa"></script>
    </head>
    <body>
        <div class="wrapper" id="pageContainer">
            <div class="panel panel-default" style="margin-bottom: 0px;">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        <a href="http://www.baidufe.com/fehelper/feedback.html" target="_blank" class="x-a-high">
                            <img src="../static/img/fe-16.png" alt="fehelper" title="by zyl.参考版本v2020.05.2810">FeHelper
                        </a>
                        ：网页截屏工具
                    </h3>
                </div>
            </div>
            <div class="panel-body">
                <div class="row">
                    <h5 class="x-title">
                        &gt;&gt;&nbsp;网页列表 <span class="x-switch ui-fl-r">Tips：从右键菜单进行网页截屏，效果更佳！（初次安装可能需要重启浏览器哦~~~）</span>
                    </h5>
                    <table class="table table-bordered table-hover table-striped">
                        <thead>
                            <tr>
                                <th class="x-index">序号</th>
                                <th class="x-tt">标题</th>
                                <th class="x-url">网址</th>
                                <th class="x-op">去截屏</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="(tab,index) in tabList">
                                <td>{{index + 1}}</td>
                                <td>{{tab.title}}</td>
                                <td>{{tab.url}}</td>
                                <td>
                                    <button class="btn btn-primary btn-sm" @click="goCapture(tab.id,'visible')">可视区域截屏</button>
                                    <button class="btn btn-success btn-sm" @click="goCapture(tab.id,'whole')">完整页面截屏</button>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div class="row" ref="resultBox" v-show="!!imageHTML">
                    <h5 class="x-title c-d">
                        &gt;&gt;&nbsp;完整截图 <input id="btnSave" class="btn btn-warning btn-sm ui-fl-r" type="button" value="保存图片到本地" @click="save">
                    </h5>
                    <div class="panel panel-default img-container" id="imageEditor" v-html="imageHTML"></div>
                </div>
            </div>
        </div>
        <script type="text/javascript" src="content-script.js?v=3400bd02"></script>
        <script type="text/javascript" src="index.js?v=c4ed781d"></script>
    </body>
</html>
